package com.cn.medicalcare.mapper;

import com.cn.medicalcare.pojo.Admin;
import com.cn.medicalcare.pojo.AdminPage;

import java.util.List;

public interface AdminMapper {
    Admin selectAdminByName(String username);
    boolean insertAdmin(Admin admin);
    boolean updataAdminPassword(Admin admin);
    boolean updataAdmin(Admin admin);
    List<Admin> selectAdminInPage(AdminPage adminPage);
    int selectAdminCount(Admin admin);
}
